package com.cgsrp.cgsrp_community.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.cgsrp.cgsrp_community.domain.BlogCommentBad;
import com.cgsrp.cgsrp_community.dao.BlogCommentBadMapper;
import com.cgsrp.cgsrp_community.service.BlogCommentBadService;
@Service
public class BlogCommentBadServiceImpl implements BlogCommentBadService{

    @Resource
    private BlogCommentBadMapper blogCommentBadMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return blogCommentBadMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(BlogCommentBad record) {
        return blogCommentBadMapper.insert(record);
    }

    @Override
    public int insertSelective(BlogCommentBad record) {
        return blogCommentBadMapper.insertSelective(record);
    }

    @Override
    public BlogCommentBad selectByPrimaryKey(Integer id) {
        return blogCommentBadMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(BlogCommentBad record) {
        return blogCommentBadMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(BlogCommentBad record) {
        return blogCommentBadMapper.updateByPrimaryKey(record);
    }

}
